<h1>New articles</h1>

<%= error_messages_for :articles %>

<% form_for(:article, :url => articles_path) do |f| %>
  <%= render :partial => 'form', :locals => {:f => f} %>
  
  <p>
  <%= submit_tag "Create" %>
  </p>
<% end %>

<%= link_to 'Back', articles_path %>